export interface Player {
  name: string,
  sex: Number,
  discipline: string,
  id: string,
  playerInfo: PlayerInfo
}

export interface PlayerInfo {
  birthday: string,
  country: string,
  play: string
}

export interface Team {
  players: Player[],
  discipline: string,
  seeded: Number, // 0 for non-seeded
  qualification: Boolean
}

export interface Round {
  teams: Team[],
  score: Score[],
  winner: Team
}

export interface Score {
  team1: Number | string, // string for walkover or retire
  team2: Number | string
}

export interface Draw {
  rounds: Round[]
}

export interface Discipline {

}

export interface Tournament {
  type: string, // superseries, gold, master
  id: string,
  name: string,
  draws: Draw[]
}
